#!/bin/bash

#实时处理 vip_interval 表
sh /home/marvin/realtime_job/sql/select/vip_interval_select.sh  |awk -F '\t' -f /home/marvin/realtime_job/awk/vip_interval.awk >/home/marvin/realtime_job/sql/replace/vip_interval_replace.sql
mysql -uroot  -proot </home/marvin/realtime_job/sql/replace/vip_interval_replace.sql

mysql -uroot  -proot -e "replace into result.res_update(res_table) VALUES('vip_interval')"
